lvm2: add debug logging for all LVM2 command lines#994
Conversation
Introduce two new debug subsystems for LVM2 command tracing: --debug=lvm2 Log every command line and its stdout on success. --debug=lvm2err Log only commands that fail, with their stderr. All logging is centralised in _Lvm2._run() so every subprocess invocation is covered. Command lines are formatted with shlex.join(). Both subsystems are included in --debug=all but can be enabled independently for fine-grained control. Resolves: snapshotmanager#979 Assisted-by: Claude <noreply@anthropic.com> Signed-off-by: Tony Asleson <tasleson@redhat.com>
|
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
WalkthroughThe pull request extends the debugging infrastructure by introducing two new debug mask flags ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Introduce two new debug subsystems for LVM2 command tracing:
--debug=lvm2 Log every command line and its stdout on success.
--debug=lvm2err Log only commands that fail, with their stderr.
All logging is centralised in _Lvm2._run() so every subprocess invocation is covered. Command lines are formatted with shlex.join(). Both subsystems are included in --debug=all but can be enabled independently for fine-grained control.
Resolves: #979
Assisted-by: Claude noreply@anthropic.com
Summary by CodeRabbit
Release Notes
New Features